package com.ayf.payment.game.api.dto.platform;

import com.swwx.charm.commons.lang.base.BasicTO;
import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
public class PaymentChannelDTO extends BasicTO {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private Integer id;

    /**
     * 支付渠道编码
     */
    private String code;

    /**
     * 支付渠道名称
     */
    private String name;

    /**
     * 通道账户
     */
    private String accountNumber;

    /**
     * 状态 0 不可用 1可用
     */
    private Integer channelFlag;

    /**
     * 通道密钥
     */
    private String channelKey;

    /**
     * 通道公钥
     */
    private String channelPublicKey;

    /**
     * 平台公钥
     */
    private String platformPublicKey;

    /**
     * 平台私钥
     */
    private String platformPrivateKey;

    /**
     * 支付url
     */
    private String paymentUrl;

    private String returnUrl;


    /**
     * 描述
     */
    private String description;

    private Date createTime;

    private Integer productStatus;

    private String businessName;

    private String businessCode;

    private int payLevel;

    private List<PaymentChannelRateDTO> channelRateList;

    // 充值类型 0 全部 1 网站充值 2 NPC充值
    private Integer sourceType;
    private String channelType;

}
